package com.baidu.process.chat.core.web.service;

import com.baidu.process.chat.core.web.bean.eval.EvalResult;
import com.baidu.process.chat.core.web.bean.eval.EvalVO;
import com.baidu.process.chat.core.web.entity.Evaluation;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 满意度评价
 *
 * @author: lws
 * @date: 2022/11/9
 */
public interface IEvaluationService extends IService<Evaluation> {

    /**
     * 推送满意度评价页面
     *
     * @param vo
     * @return
     */
    EvalResult pushEval(EvalVO vo);

    /**
     * 满意度评价入库
     *
     * @param vo
     */
    EvalResult recordEvalResult(EvalVO vo);

    /**
     * 获取session对应数据
     *
     * @param sessionId
     * @return
     */
    EvalResult getData(String sessionId);

    /**
     * 删除sessionId推送时间数据
     *
     * @param sessionId
     * @return
     */
    EvalResult del(String sessionId);
}
